import service from '@/utils/request'

export function loginService(userAccount, password) {
    return service({
        url:"/sys-user/login",
        method: "post",
        data: {userAccount, password}
    })
}

export function getUserInfoService() {
    return service({
        url: "/sys-user/info",
        method: "get",
    });
}


export function logoutService() {
    return service({
        url: "/sys-user/logout",
        method: "delete",
    });
}